// stores/counter.js
import { defineStore } from 'pinia';

export default defineStore("auth",  {
	state: () => {
		return {
			token:''
		};
	},
	actions: {
		async login(body: Record<any, any>) {
			const data = await authorizeToken({ body });
			this.token = data.token;
		},
	}, 
});
